﻿(function(E, T, $){
var selection = E.mod('Selection'),
	testName = 'SpecialChar',
	title = '特殊符号',
	dom = null,
	node = null,
	setValue = '<span id="_testSpecialChar"></span>',
	cmds = [
		[1500, {fun: function() {
			dom = E.get('document');
			dom.body.innerHTML = setValue;
			node = dom.getElementById('_testSpecialChar');
			selection.selectNode(node, false);
		}}],
		[500, {name: '#demo-SpecialChar', type: 'mouseover'}],
		[500, {name: '#demo-SpecialChar a.SpecialChar', type: 'click'}],
		[500, {name: '#panel_SpecialChar table tr:first td:last', type: 'click'}],
		[500, {name: '#demo-SpecialChar', type: 'mouseover'}],
		[500, {name: '#demo-SpecialChar a.SpecialChar', type: 'click'}],
		[500, {name: '#panel_SpecialChar table tr:last td:first', type: 'click'}]
	];

T.addTest(testName, cmds, title);
})(jQEditor,AutoTest, jQuery)